# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Contracte)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Contracte_SRCS contracteplugin.cpp contracte.cpp)
QT4_WRAP_CPP(Contracte_SRCS contracteplugin.h contracte.h)
QT4_WRAP_UI(Contracte_SRCS contracte.ui)
QT4_ADD_RESOURCES(Contracte_SRCS contracte.qrc)

add_library(Contracte SHARED ${Contracte_SRCS})
add_dependencies(Contracte KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Contracte KontAMabil ${QT_LIBRARIES})

install(TARGETS Contracte ${INSTALL_PLUGINS_DEFAULT_ARGS})
